﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FineAdmin.IService;
using FineAdmin.Model;
using FineAdmin.IRepository;
using FineAdmin.Common;

namespace FineAdmin.Service
{
    public class ICPLicenseService : BaseService<ICPLicenseModel>, IICPLicenseService
    {
        public IICPLicenseRepository ICPLicenseRepository { get; set; }
        public IEnumerable<ICPLicenseModel> GetICPLicenseList()
        {
            return ICPLicenseRepository.GetICPLicenseList();
        }


        public dynamic GetListByFilter(ICPLicenseModel filter, PageInfo pageInfo)
        {
            string _where = " where 1=1";
            return GetListByFilter(filter, pageInfo, _where);
        }

    }

}